package com.nie.orderfood.DTO;

/**
 * @program: orderfood
 * @description: 购物车实体类传输用
 * @author: NieMiao
 * @create: 2018-10-11 10:29
 **/
public class CartDTO {

    private String productId;
    private Integer productQuantity;

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getProductQuantity() {
        return productQuantity;
    }

    public void setProductQuantity(Integer productQuantity) {
        this.productQuantity = productQuantity;
    }

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}
